<%@ Page Language="vb" AutoEventWireup="false" CodeFile="iscrizioni.aspx.vb" Inherits="iscrizioni" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>SICOP</title><!--#Include File="../lib/calendar.asp"-->
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../style.css" type="text/css" rel="StyleSheet">
		<script language="javascript">
			
			function chiudi(){
				w = eval("window.opener.Form1.opName");
				window.opener.navigate(w.value);
				self.close();  
			}
			
		</script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<div align="center">
				<!-- tabella di contorno, bordo rosso -->
				<table id="tabella di contorno" style="BORDER-RIGHT: 1px; BORDER-TOP: 1px; BORDER-LEFT: 1px; BORDER-BOTTOM: 1px"
					borderColor="#de0029" cellSpacing="0" cellPadding="0" width="700" border="1">
					<tr>
						<td width="100%" bgColor="#de0029">
							<table style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0" cellPadding="0"
								width="100%" bgColor="#ffffff" border="0">
								<tr>
									<td width="6"><IMG height="1" src="../images/x.gif" width="1"></td>
									<td width="15"><IMG height="10" src="../images/quadratino_rosso.gif" width="10"></td>
									<td width="328" height="10"><span class="titolo">Storico iscrizioni </span>
									</td>
									<td width="327" align="right"><span class="blu"><INPUT class="blu" id="btChiudi" style="BACKGROUND-POSITION: right center; BACKGROUND-IMAGE: url(../images/chiudi.gif); VERTICAL-ALIGN: sub; WIDTH: 67px; CURSOR: hand; BORDER-TOP-STYLE: none; BACKGROUND-REPEAT: no-repeat; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; HEIGHT: 19px; BACKGROUND-COLOR: transparent; TEXT-ALIGN: left; BORDER-BOTTOM-STYLE: none"
												onclick="chiudi();" type="button" value="chiudi" name="btChiudi"></span>
									</td>
								</tr>
								<tr>
									<td width="100%" colSpan="4" height="5"><IMG height="5" src="../images/x.gif" width="1"></td>
								</tr>
							</table>
							<table id="Table1" style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0"
								cellPadding="0" width="100%" bgColor="#ffffff" border="0">
								<tr>
									<td width="100%" height="15"><IMG height="5" src="../images/x.gif" width="1"></td>
								</tr>
							</table>
							<TABLE cellSpacing="0" cellPadding="0" width="700" bgColor="#ffffff">
								<TR>
									<TD vAlign="top" width="6"><IMG alt="" src="../images/x.gif"></TD>
									<TD vAlign="top" width="688" bgColor="#ffffff" height="20">
										<P><asp:datagrid id="dgIscrizioni" runat="server" BorderColor="#1A49A3" Width="100%" AutoGenerateColumns="False"
												GridLines="Horizontal" ItemStyle-CssClass="nero" HeaderStyle-CssClass="nero_bold">
												<ItemStyle CssClass="nero"></ItemStyle>
												<HeaderStyle Font-Bold="True" CssClass="blu"></HeaderStyle>
												<Columns>
													<asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
													<asp:BoundColumn DataField="da" HeaderText="Dal"></asp:BoundColumn>
													<asp:BoundColumn DataField="a" HeaderText="Al"></asp:BoundColumn>
													<asp:BoundColumn DataField="numero" HeaderText="Numero"></asp:BoundColumn>
													<asp:BoundColumn DataField="Sezione" HeaderText="Sezione"></asp:BoundColumn>
													<asp:BoundColumn DataField="Albo" HeaderText="Albo"></asp:BoundColumn>
													<asp:TemplateColumn>
														<ItemTemplate>
															<asp:LinkButton CausesValidation="False" Runat="server" CssClass="blu" ID="lkVedi" CommandName="vedi">vedi</asp:LinkButton>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:TemplateColumn>
														<ItemTemplate>
															<asp:LinkButton CausesValidation="False" Runat="server" CssClass="blu" ID="lkElimina" CommandName="elimina"><img src="../images/elimina.gif" border="0">&nbsp;elimina</asp:LinkButton>
														</ItemTemplate>
													</asp:TemplateColumn>
												</Columns>
											</asp:datagrid></P>
										<p><asp:linkbutton id="lkNuovo" Runat="server" CssClass="blu"><img src="../images/aggiungi.gif" border="0">&nbsp;aggiungi</asp:linkbutton>
											<TABLE borderColor="#1a49a3" cellSpacing="1" cellPadding="4" width="100%" bgColor="#ffffff"
												border="1">
												<tr>
													<td colSpan="4"><SPAN class="blu"><B>Dati iscrizione</B></SPAN><asp:textbox id="txId" Runat="server" Visible="False"></asp:textbox></td>
												</tr>
												<tr>
													<td><span class="nero">Data iscrizione</span><br>
														<asp:textbox id="txData" runat="server" Width="70px" CssClass="nero" ReadOnly="True"></asp:textbox><IMG height="1" src="../images/x.gif" width="5" border="0"><IMG onclick="fPopCalendar(txData,txData);" height="16" src="../images/calbutton.gif"
															width="16" border="0"></td>
													<td><span class="nero">Num. iscrizione</span><br>
														<asp:textbox id="txNumero" runat="server" Width="70px" CssClass="nero"></asp:textbox>
														<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" CssClass="nero" ErrorMessage="Obbligatorio"
															ControlToValidate="txNumero"></asp:RequiredFieldValidator></td>
													<td><span class="nero">Motivo iscrizione</span><br>
														<asp:dropdownlist id="dMotivoIsc" runat="server" CssClass="nero" DataTextField="descrizione" DataValueField="codice"></asp:dropdownlist></td>
													<td><asp:panel id="pnPeriti" Runat="server"><SPAN class="nero">Sessione - Anno</SPAN><BR>
															<asp:textbox id="txSessione" runat="server" Width="106px" CssClass="nero" MaxLength="20"></asp:textbox>
														</asp:panel>
														<asp:panel id="pnSezione" Runat="server">
															<SPAN class="nero">Sezione</SPAN><BR>
															<asp:dropdownlist id="dSezione" runat="server" CssClass="nero" DataValueField="codice" DataTextField="descrizione"
																AutoPostBack="True">
																<asp:ListItem Value="A">A</asp:ListItem>
																<asp:ListItem Value="B">B</asp:ListItem>
															</asp:dropdownlist>
														</asp:panel><IMG height="1" src="../images/x.gif" width="1"></td>
												</tr>
												<tr>
													<td><span class="nero">Data Delibera</span><br>
														<asp:textbox id="txDataDel" runat="server" CssClass="nero" Width="70px" ReadOnly="True"></asp:textbox><IMG height="1" src="../../images/x.gif" width="5" border="0"><IMG onclick="fPopCalendar(txDataDel,txDataDel);" height="16" src="../images/calbutton.gif"
															width="16" border="0"></td>
													<td><span class="nero">Num. Delibera</span><br>
														<asp:textbox id="txNumDel" runat="server" CssClass="nero" Width="70px"></asp:textbox></td>
													<td colspan="2"><IMG height="1" src="../images/x.gif" width="1"><IMG height="1" src="../../images/x.gif" width="5" border="0"></td>
												</tr>
												<tr>
													<td vAlign="top"><span class="nero">Albo</span><br>
														<asp:dropdownlist id="dAlbo" runat="server" CssClass="nero" DataTextField="descAlbo" DataValueField="id"></asp:dropdownlist><br>
														<span class="nero">Provincia</span><br>
														<asp:dropdownlist id="dProvAlbo" runat="server" CssClass="nero" DataValueField="codice" DataTextField="descrizione"></asp:dropdownlist>
													</td>
													<td vAlign="top">
														<asp:Label id="lbSettori" CssClass="nero" Runat="server"></asp:Label><br>
														<asp:dropdownlist id="dSettori" runat="server" CssClass="nero" DataTextField="descrizione" DataValueField="codice"></asp:dropdownlist><asp:linkbutton id="lkAddA" runat="server" CssClass="blu" Font-Underline="True" CausesValidation="False"><img src="../images/aggiungi.gif" border="0">&nbsp;aggiungi</asp:linkbutton><BR>
														<BR>
														<asp:Panel id="pnData" Runat="server">
															<SPAN class="nero">Data
																<asp:Label id="lbDataSettore" CssClass="nero" Runat="server"></asp:Label></SPAN><BR>
															<asp:textbox id="txDataSettore" runat="server" Width="70px" CssClass="nero" ReadOnly="True"></asp:textbox>
															<IMG height="1" src="../../images/x.gif" width="5" border="0"><IMG onclick="fPopCalendar(txDataSettore,txDataSettore);" height="16" src="../images/calbutton.gif"
																width="16" border="0"></asp:Panel></td>
													<td vAlign="top" colSpan="2">
														<asp:datagrid id="dgSettori" runat="server" Width="100%" AutoGenerateColumns="False" GridLines="None"
															ShowHeader="False">
															<Columns>
																<asp:BoundColumn Visible="False" DataField="codice"></asp:BoundColumn>
																<asp:BoundColumn DataField="descrizione">
																	<ItemStyle CssClass="nero"></ItemStyle>
																</asp:BoundColumn>
																<asp:BoundColumn DataField="data">
																	<ItemStyle CssClass="nero"></ItemStyle>
																</asp:BoundColumn>
																<asp:TemplateColumn>
																	<ItemTemplate>
																		<asp:LinkButton Runat="server" CausesValidation="False" CssClass="blu" CommandName="elimina" ID="Linkbutton1"><img src="../images/elimina.gif" border="0">&nbsp;elimina</asp:LinkButton>
																	</ItemTemplate>
																</asp:TemplateColumn>
															</Columns>
														</asp:datagrid><IMG height="1" src="../../images/x.gif" width="5" border="0"></td>
												</tr>
												<tr>
													<td vAlign="top"><span class="nero">Data Cancellazione</span><br>
														<asp:textbox id="txDataCanc" runat="server" Width="70px" CssClass="nero" ReadOnly="True"></asp:textbox><IMG height="1" src="../images/x.gif" width="5" border="0"><IMG onclick="fPopCalendar(txDataCanc,txDataCanc);" height="16" src="../images/calbutton.gif"
															width="16" border="0">
													</td>
													<td vAlign="top"><span class="nero">Motivo cancellazione</span><br>
														<asp:dropdownlist id="dMotivoCanc" runat="server" CssClass="nero" DataTextField="descrizione" DataValueField="codice"></asp:dropdownlist></td>
													<td colSpan="2"><span class="nero">Note</span><br>
														<asp:textbox id="txNote" runat="server" Width="236px" CssClass="nero" TextMode="MultiLine" Rows="3"></asp:textbox></td>
												</tr>
											</TABLE>
											<table width="100%" bgcolor="#fff8f9">
												<tr>
													<td align="right"><asp:linkbutton id="lkSalva" Runat="server" CssClass="blu"><img src="../images/salva.gif" border="0">&nbsp;salva</asp:linkbutton>&nbsp;&nbsp;&nbsp;&nbsp;
														<asp:linkbutton id="lkAnnulla" Runat="server" CssClass="blu" CausesValidation="False"><img src="../images/annulla.gif" border="0">&nbsp;annulla</asp:linkbutton>&nbsp;
													</td>
												</tr>
											</table>
										</p>
									</TD>
									<TD vAlign="top" width="6"><IMG alt="" src="../images/x.gif"></TD>
								</TR>
								<TR>
									<TD vAlign="top" width="6" bgColor="#fff8f9"><IMG height="5" alt="" src="../images/x.gif"></TD>
									<TD vAlign="top" width="688" bgColor="#fff8f9" height="20"></TD>
									<TD vAlign="top" width="6" bgColor="#fff8f9"><IMG height="5" alt="" src="../images/x.gif"></TD>
								</TR>
							</TABLE>
						</td>
					</tr>
				</table>
		</form>
		</DIV>
	</body>
</HTML>
